<admintpl file="header" />
<link href="/public/qiniu/css/formdata.css" rel="stylesheet">
<script src="/public/qiniu/js/jquery/jquery.min.js"></script>

<script src="/public/qiniu/js/formdata.js"></script>
</head>
<body>
<div class="wrap">
	<ul class="nav nav-tabs">
		<li ><a href="{:U('Video/commentlist')}">评论列表</a></li>
		<li class="active"><a >查看评论</a></li>
	</ul>
	<form method="post"  id="testform"  class="form-horizontal js-ajax-form" action="{:U('Video/edit_post')}">
		<fieldset>
			<input type="hidden" name="id" value="{$info.id}">
			<input type="hidden" name="type" value="{$info.type}">
			<div class="control-group">
				<label class="control-label">评论人</label>
				<div class="controls">
					<input type="text" name="uname" value="{$info.uname}" readonly>
				</div>
			</div>
			<div class="control-group">
				<label class="control-label">视频名称</label>
				<div class="controls">
					<input type="text" name="video_name" value="{$info.video_name}" readonly>
				</div>
			</div>
			<div class="control-group">
				<label class="control-label">评论内容</label>
				<div class="controls">
					<textarea name="content" rows="10" cols="200" style="width: 500px">{$info.content}</textarea>
				</div>
			</div>





		</fieldset>
		<div class="form-actions">
			<a class="btn" href="{:U('Video/commentlist')}">{:L('BACK')}</a>
		</div>
	</form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/content_addtop.js"></script>
<script>
    $(function(){
        $("#is_down_2").click(function(){ //是否支持下载,显示
            $("#is_down").attr("style","display:block;");
        });
        $("#is_down_1").click(function(){ //是否支持下载,隐藏
            $("#is_down").attr("style","display:none;");
        });


        $("#is_charge_0").click(function(){ //是否收费，隐藏
            $("#is_charge").attr("style","display:none;");
        });

        $("#is_charge_1").click(function(){ //是否收费，显示
            $("#is_charge").attr("style","display:block;");
        });

    })
</script>
</body>
</html>